package com.tanjie.blackbean.system.admin.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tanjie.blackbean.system.admin.model.menu.MenuPO;
import com.tanjie.blackbean.system.admin.model.menu.RouteVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 菜单管理 Mapper 接口
 *
 * @author tanjie
 * @since 2022-04-20
 */
@Mapper
public interface MenuMapper extends BaseMapper<MenuPO> {

    List<RouteVO> listRoute(@Param("roleIdList") List<String> roleIdList, @Param("clientType") int clientType);

}